package com.ruoyi.app.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;


/**
 * app用户类型视图对象
 *
 * @author Zach
 * @date 2023-11-14
 */
@Data
@ExcelIgnoreUnannotated
public class AppUserTypeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 类型名称
     */
    @ExcelProperty(value = "类型名称")
    private String typeName;

    /**
     * 是否付费
     */
    @ExcelProperty(value = "是否付费", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private Long isPay;

    /**
     * 购买金额
     */
    @ExcelProperty(value = "购买金额")
    private Long payNumber;

    /**
     * 分红满足人数条件
     */
    @ExcelProperty(value = "分红满足人数条件")
    private Long fhConditionNum;

    /**
     * 分红单个人员满足金额
     */
    @ExcelProperty(value = "分红单个人员满足金额")
    private Long fhConditionMoney;

    /**
     * 分润比例
     */
    @ExcelProperty(value = "分润比例")
    private Long rebate;

    /**
     * 一级返佣
     */
    @ExcelProperty(value = "一级返佣")
    private Long rebateFirst;

    /**
     * 二级返佣
     */
    @ExcelProperty(value = "二级返佣")
    private Long rebateSecondary;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "user_status")
    private Long status;


}
